//
//  DyScrollView.h
//  轮播图封装
//
//  Created by dllo on 15/11/27.
//  Copyright © 2015年 大远. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol DyScrollViewdelegate <NSObject>

- (void)takeValue:(NSInteger)TouchValue;

@end

@interface DyScrollView : UIView<UIScrollViewDelegate>
@property(nonatomic, strong) UIScrollView *scrollView;

@property(nonatomic, assign) CGFloat time; /**<更换时间,默认5秒*/

@property(nonatomic, assign) id<DyScrollViewdelegate> delegate;

- (void)createView:(NSMutableArray *)arr width:(CGFloat)width;


@end
